package com.heima.service;

import com.heima.pojo.Cooperative;
import com.heima.pojo.dto.ReceiveDto;
import com.heima.pojo.vo.PagingVO;
import com.heima.pojo.vo.PolicyVO;
import org.springframework.stereotype.Service;

@Service
public interface CooperativeService {
    //查询合作商
    PagingVO SelectCooperative(ReceiveDto dto);
    //新增合作商
    Boolean addCooperative(Cooperative cooperative);
    //获取合作商详情
    PolicyVO getCooperative(Long id);
    //修改合作商
    Boolean UpdateCooperative(PolicyVO policyVo, Long id);
    //删除合作商
    Boolean deleteCooperative(Long id);
}
